﻿@model Gpsys.Web.Models.LogOnModel
@{
    Layout = "~/Views/Shared/_LogOnLayout.cshtml";
    ViewBag.Title = "Log On";
}

<div id="mws-login-wrapper">
    <div id="mws-login">
        <h1>
            Login</h1>
        <div class="mws-login-lock">
            <i class="icon-lock"></i>
        </div>
        <div id="mws-login-form">
            <form class="mws-form" action="@Url.Action("LogOn","Account")"
            method="post">
            <div class="mws-form-row">
                <div class="mws-form-item large">
                    <input type="text" name="UserName" class="mws-login-username required" placeholder="username" value="@Model.UserName"/>
                </div>
            </div>
            <div class="mws-form-row">
                <div class="mws-form-item large">
                    <input type="password" name="Password" class="mws-login-password required" placeholder="password" />
                </div>
            </div>
            @*<div id="mws-login-remember" class="mws-form-row mws-inset">
                <ul class="mws-form-list inline">
                    <li>
                        <input id="RememberMe" type="checkbox" />
                        <label for="remember">
                            Remember me</label>
                    </li>
                </ul>
            </div>*@
            <div class="mws-form-row">
                <input type="submit" value="Login" class="btn btn-success mws-login-button" />
            </div>
            </form>
        </div>
        @if (ViewBag.Valid == false)
        {
            <div class="mws-form-message error" style="margin-top:10px">
                @Html.ValidationSummary()
            </div>
        }
    </div>
</div>
